package org.admanager.acmeadmapping.plugin.diagram.part;

import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

import org.admanager.acmeadmanagement.plugin.acmeadmanagement.AcmeadmanagementPackage;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.Attachment;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.Binding;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.CBAPattern;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.Component;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.ComponentMapping;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.ComponentPortMapping;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.Connector;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.ConnectorMapping;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.ConnectorRoleMapping;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.MappingRoot;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PComponent;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PComponentPort;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PConnector;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PConnectorRole;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PConstraint;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PElement;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PMultiplicity;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.PRole;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.Port;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.Representation;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.Role;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.SimpleElement;
import org.admanager.acmeadmanagement.plugin.acmeadmanagement.System;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.AttachmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.BindingEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.CBAPatternCBAPatternCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.CBAPatternEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentComponentCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentMappingEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentMappingSourceEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentMappingTargetEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentPortMappingEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentPortMappingSourceEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ComponentPortMappingTargetEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorConnectorCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorMappingEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorMappingSourceEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorMappingTargetEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorRoleMappingEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorRoleMappingSourceEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.ConnectorRoleMappingTargetEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.MappingRootEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PComponent2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PComponentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PComponentPComponentCompartment2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PComponentPComponentCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PComponentPort2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PComponentPortEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PConnector2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PConnectorEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PConnectorPConnectorCompartment2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PConnectorPConnectorCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PConnectorRole2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PConnectorRoleEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PConstraintEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PMultiplicityEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PRoleEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PRolePRoleCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.PortEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.RepresentationEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.RepresentationRepresentationCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.RoleEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.System2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.SystemEditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.SystemSystemCompartment2EditPart;
import org.admanager.acmeadmapping.plugin.diagram.edit.parts.SystemSystemCompartmentEditPart;
import org.admanager.acmeadmapping.plugin.diagram.providers.AcmeADManagementMetamodelElementTypes;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.gmf.runtime.notation.View;

/**
 * @generated
 */
public class AcmeADManagementMetamodelDiagramUpdater {

	/**
	 * @generated
	 */
	public static boolean isShortcutOrphaned(View view) {
		return !view.isSetElement() || view.getElement() == null
				|| view.getElement().eIsProxy();
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getSemanticChildren(
			View view) {
		switch (AcmeADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case MappingRootEditPart.VISUAL_ID:
			return getMappingRoot_1000SemanticChildren(view);
		case CBAPatternCBAPatternCompartmentEditPart.VISUAL_ID:
			return getCBAPatternCBAPatternCompartment_7012SemanticChildren(view);
		case PRolePRoleCompartmentEditPart.VISUAL_ID:
			return getPRolePRoleCompartment_7013SemanticChildren(view);
		case PComponentPComponentCompartmentEditPart.VISUAL_ID:
			return getPComponentPComponentCompartment_7014SemanticChildren(view);
		case PComponentPComponentCompartment2EditPart.VISUAL_ID:
			return getPComponentPComponentCompartment_7015SemanticChildren(view);
		case PConnectorPConnectorCompartmentEditPart.VISUAL_ID:
			return getPConnectorPConnectorCompartment_7016SemanticChildren(view);
		case PConnectorPConnectorCompartment2EditPart.VISUAL_ID:
			return getPConnectorPConnectorCompartment_7017SemanticChildren(view);
		case SystemSystemCompartmentEditPart.VISUAL_ID:
			return getSystemSystemCompartment_7018SemanticChildren(view);
		case ComponentComponentCompartmentEditPart.VISUAL_ID:
			return getComponentComponentCompartment_7019SemanticChildren(view);
		case RepresentationRepresentationCompartmentEditPart.VISUAL_ID:
			return getRepresentationRepresentationCompartment_7020SemanticChildren(view);
		case SystemSystemCompartment2EditPart.VISUAL_ID:
			return getSystemSystemCompartment_7021SemanticChildren(view);
		case ConnectorConnectorCompartmentEditPart.VISUAL_ID:
			return getConnectorConnectorCompartment_7022SemanticChildren(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getMappingRoot_1000SemanticChildren(
			View view) {
		if (!view.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		MappingRoot modelElement = (MappingRoot) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponentportmappings()
				.iterator(); it.hasNext();) {
			ComponentPortMapping childElement = (ComponentPortMapping) it
					.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentPortMappingEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectorrolemappings()
				.iterator(); it.hasNext();) {
			ConnectorRoleMapping childElement = (ConnectorRoleMapping) it
					.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorRoleMappingEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectormappings()
				.iterator(); it.hasNext();) {
			ConnectorMapping childElement = (ConnectorMapping) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorMappingEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getComponentmappings()
				.iterator(); it.hasNext();) {
			ComponentMapping childElement = (ComponentMapping) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentMappingEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		{
			CBAPattern childElement = modelElement.getCbapattern();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == CBAPatternEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		{
			System childElement = modelElement.getAcme();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == SystemEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getCBAPatternCBAPatternCompartment_7012SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		CBAPattern modelElement = (CBAPattern) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getMultiplicities().iterator(); it
				.hasNext();) {
			PMultiplicity childElement = (PMultiplicity) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PMultiplicityEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getContainingRoles().iterator(); it
				.hasNext();) {
			PRole childElement = (PRole) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PRoleEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponentPortEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorRoleEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponentEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnector2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getPRolePRoleCompartment_7013SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PRole modelElement = (PRole) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInvariants().iterator(); it
				.hasNext();) {
			PConstraint childElement = (PConstraint) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PConstraintEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getPComponentPComponentCompartment_7014SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PComponent modelElement = (PComponent) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponentPort2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getPComponentPComponentCompartment_7015SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PComponent modelElement = (PComponent) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponentPort2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getPConnectorPConnectorCompartment_7016SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PConnector modelElement = (PConnector) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorRole2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getPConnectorPConnectorCompartment_7017SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PConnector modelElement = (PConnector) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorRole2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getSystemSystemCompartment_7018SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		System modelElement = (System) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponents().iterator(); it
				.hasNext();) {
			Component childElement = (Component) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectors().iterator(); it
				.hasNext();) {
			Connector childElement = (Connector) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getComponentComponentCompartment_7019SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Component modelElement = (Component) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getPorts().iterator(); it
				.hasNext();) {
			Port childElement = (Port) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PortEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		{
			Representation childElement = modelElement.getRepresentation();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == RepresentationEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getRepresentationRepresentationCompartment_7020SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Representation modelElement = (Representation) containerView
				.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		{
			System childElement = modelElement.getSystem();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == System2EditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getSystemSystemCompartment_7021SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		System modelElement = (System) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponents().iterator(); it
				.hasNext();) {
			Component childElement = (Component) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectors().iterator(); it
				.hasNext();) {
			Connector childElement = (Connector) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/getConnectorConnectorCompartment_7022SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Connector modelElement = (Connector) containerView.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getRoles().iterator(); it
				.hasNext();) {
			Role childElement = (Role) it.next();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == RoleEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		{
			Representation childElement = modelElement.getRepresentation();
			int visualID = AcmeADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == RepresentationEditPart.VISUAL_ID) {
				result.add(new AcmeADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getContainedLinks(
			View view) {
		switch (AcmeADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case MappingRootEditPart.VISUAL_ID:
			return getMappingRoot_1000ContainedLinks(view);
		case ComponentPortMappingEditPart.VISUAL_ID:
			return getComponentPortMapping_2024ContainedLinks(view);
		case ConnectorRoleMappingEditPart.VISUAL_ID:
			return getConnectorRoleMapping_2025ContainedLinks(view);
		case ConnectorMappingEditPart.VISUAL_ID:
			return getConnectorMapping_2026ContainedLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2027ContainedLinks(view);
		case CBAPatternEditPart.VISUAL_ID:
			return getCBAPattern_2028ContainedLinks(view);
		case SystemEditPart.VISUAL_ID:
			return getSystem_2029ContainedLinks(view);
		case PMultiplicityEditPart.VISUAL_ID:
			return getPMultiplicity_3020ContainedLinks(view);
		case PRoleEditPart.VISUAL_ID:
			return getPRole_3021ContainedLinks(view);
		case PConstraintEditPart.VISUAL_ID:
			return getPConstraint_3022ContainedLinks(view);
		case PComponentPortEditPart.VISUAL_ID:
			return getPComponentPort_3023ContainedLinks(view);
		case PConnectorRoleEditPart.VISUAL_ID:
			return getPConnectorRole_3024ContainedLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3025ContainedLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3026ContainedLinks(view);
		case PComponentPort2EditPart.VISUAL_ID:
			return getPComponentPort_3027ContainedLinks(view);
		case PConnectorEditPart.VISUAL_ID:
			return getPConnector_3028ContainedLinks(view);
		case PConnectorRole2EditPart.VISUAL_ID:
			return getPConnectorRole_3029ContainedLinks(view);
		case PConnector2EditPart.VISUAL_ID:
			return getPConnector_3030ContainedLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3031ContainedLinks(view);
		case PortEditPart.VISUAL_ID:
			return getPort_3032ContainedLinks(view);
		case RepresentationEditPart.VISUAL_ID:
			return getRepresentation_3033ContainedLinks(view);
		case System2EditPart.VISUAL_ID:
			return getSystem_3034ContainedLinks(view);
		case ConnectorEditPart.VISUAL_ID:
			return getConnector_3035ContainedLinks(view);
		case RoleEditPart.VISUAL_ID:
			return getRole_3036ContainedLinks(view);
		case AttachmentEditPart.VISUAL_ID:
			return getAttachment_4041ContainedLinks(view);
		case BindingEditPart.VISUAL_ID:
			return getBinding_4042ContainedLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingLinks(
			View view) {
		switch (AcmeADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case ComponentPortMappingEditPart.VISUAL_ID:
			return getComponentPortMapping_2024IncomingLinks(view);
		case ConnectorRoleMappingEditPart.VISUAL_ID:
			return getConnectorRoleMapping_2025IncomingLinks(view);
		case ConnectorMappingEditPart.VISUAL_ID:
			return getConnectorMapping_2026IncomingLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2027IncomingLinks(view);
		case CBAPatternEditPart.VISUAL_ID:
			return getCBAPattern_2028IncomingLinks(view);
		case SystemEditPart.VISUAL_ID:
			return getSystem_2029IncomingLinks(view);
		case PMultiplicityEditPart.VISUAL_ID:
			return getPMultiplicity_3020IncomingLinks(view);
		case PRoleEditPart.VISUAL_ID:
			return getPRole_3021IncomingLinks(view);
		case PConstraintEditPart.VISUAL_ID:
			return getPConstraint_3022IncomingLinks(view);
		case PComponentPortEditPart.VISUAL_ID:
			return getPComponentPort_3023IncomingLinks(view);
		case PConnectorRoleEditPart.VISUAL_ID:
			return getPConnectorRole_3024IncomingLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3025IncomingLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3026IncomingLinks(view);
		case PComponentPort2EditPart.VISUAL_ID:
			return getPComponentPort_3027IncomingLinks(view);
		case PConnectorEditPart.VISUAL_ID:
			return getPConnector_3028IncomingLinks(view);
		case PConnectorRole2EditPart.VISUAL_ID:
			return getPConnectorRole_3029IncomingLinks(view);
		case PConnector2EditPart.VISUAL_ID:
			return getPConnector_3030IncomingLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3031IncomingLinks(view);
		case PortEditPart.VISUAL_ID:
			return getPort_3032IncomingLinks(view);
		case RepresentationEditPart.VISUAL_ID:
			return getRepresentation_3033IncomingLinks(view);
		case System2EditPart.VISUAL_ID:
			return getSystem_3034IncomingLinks(view);
		case ConnectorEditPart.VISUAL_ID:
			return getConnector_3035IncomingLinks(view);
		case RoleEditPart.VISUAL_ID:
			return getRole_3036IncomingLinks(view);
		case AttachmentEditPart.VISUAL_ID:
			return getAttachment_4041IncomingLinks(view);
		case BindingEditPart.VISUAL_ID:
			return getBinding_4042IncomingLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingLinks(
			View view) {
		switch (AcmeADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case ComponentPortMappingEditPart.VISUAL_ID:
			return getComponentPortMapping_2024OutgoingLinks(view);
		case ConnectorRoleMappingEditPart.VISUAL_ID:
			return getConnectorRoleMapping_2025OutgoingLinks(view);
		case ConnectorMappingEditPart.VISUAL_ID:
			return getConnectorMapping_2026OutgoingLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2027OutgoingLinks(view);
		case CBAPatternEditPart.VISUAL_ID:
			return getCBAPattern_2028OutgoingLinks(view);
		case SystemEditPart.VISUAL_ID:
			return getSystem_2029OutgoingLinks(view);
		case PMultiplicityEditPart.VISUAL_ID:
			return getPMultiplicity_3020OutgoingLinks(view);
		case PRoleEditPart.VISUAL_ID:
			return getPRole_3021OutgoingLinks(view);
		case PConstraintEditPart.VISUAL_ID:
			return getPConstraint_3022OutgoingLinks(view);
		case PComponentPortEditPart.VISUAL_ID:
			return getPComponentPort_3023OutgoingLinks(view);
		case PConnectorRoleEditPart.VISUAL_ID:
			return getPConnectorRole_3024OutgoingLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3025OutgoingLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3026OutgoingLinks(view);
		case PComponentPort2EditPart.VISUAL_ID:
			return getPComponentPort_3027OutgoingLinks(view);
		case PConnectorEditPart.VISUAL_ID:
			return getPConnector_3028OutgoingLinks(view);
		case PConnectorRole2EditPart.VISUAL_ID:
			return getPConnectorRole_3029OutgoingLinks(view);
		case PConnector2EditPart.VISUAL_ID:
			return getPConnector_3030OutgoingLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3031OutgoingLinks(view);
		case PortEditPart.VISUAL_ID:
			return getPort_3032OutgoingLinks(view);
		case RepresentationEditPart.VISUAL_ID:
			return getRepresentation_3033OutgoingLinks(view);
		case System2EditPart.VISUAL_ID:
			return getSystem_3034OutgoingLinks(view);
		case ConnectorEditPart.VISUAL_ID:
			return getConnector_3035OutgoingLinks(view);
		case RoleEditPart.VISUAL_ID:
			return getRole_3036OutgoingLinks(view);
		case AttachmentEditPart.VISUAL_ID:
			return getAttachment_4041OutgoingLinks(view);
		case BindingEditPart.VISUAL_ID:
			return getBinding_4042OutgoingLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getMappingRoot_1000ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponentPortMapping_2024ContainedLinks(
			View view) {
		ComponentPortMapping modelElement = (ComponentPortMapping) view
				.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Source_4037(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Target_4039(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnectorRoleMapping_2025ContainedLinks(
			View view) {
		ConnectorRoleMapping modelElement = (ConnectorRoleMapping) view
				.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4035(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4040(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnectorMapping_2026ContainedLinks(
			View view) {
		ConnectorMapping modelElement = (ConnectorMapping) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Target_4033(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Source_4034(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponentMapping_2027ContainedLinks(
			View view) {
		ComponentMapping modelElement = (ComponentMapping) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4036(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4038(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getCBAPattern_2028ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getSystem_2029ContainedLinks(
			View view) {
		System modelElement = (System) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getContainedTypeModelFacetLinks_Attachment_4041(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_Binding_4042(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPMultiplicity_3020ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPRole_3021ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConstraint_3022ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponentPort_3023ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3024ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponent_3025ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponent_3026ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponentPort_3027ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnector_3028ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3029ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnector_3030ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponent_3031ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPort_3032ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getRepresentation_3033ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getSystem_3034ContainedLinks(
			View view) {
		System modelElement = (System) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getContainedTypeModelFacetLinks_Attachment_4041(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_Binding_4042(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnector_3035ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getRole_3036ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getAttachment_4041ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getBinding_4042ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponentPortMapping_2024IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnectorRoleMapping_2025IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnectorMapping_2026IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponentMapping_2027IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getCBAPattern_2028IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getSystem_2029IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPMultiplicity_3020IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPRole_3021IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConstraint_3022IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponentPort_3023IncomingLinks(
			View view) {
		PComponentPort modelElement = (PComponentPort) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentPortMapping_Target_4039(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3024IncomingLinks(
			View view) {
		PConnectorRole modelElement = (PConnectorRole) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4040(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponent_3025IncomingLinks(
			View view) {
		PComponent modelElement = (PComponent) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4038(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponent_3026IncomingLinks(
			View view) {
		PComponent modelElement = (PComponent) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4038(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponentPort_3027IncomingLinks(
			View view) {
		PComponentPort modelElement = (PComponentPort) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentPortMapping_Target_4039(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnector_3028IncomingLinks(
			View view) {
		PConnector modelElement = (PConnector) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorMapping_Target_4033(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3029IncomingLinks(
			View view) {
		PConnectorRole modelElement = (PConnectorRole) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4040(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnector_3030IncomingLinks(
			View view) {
		PConnector modelElement = (PConnector) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorMapping_Target_4033(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponent_3031IncomingLinks(
			View view) {
		Component modelElement = (Component) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Source_4036(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPort_3032IncomingLinks(
			View view) {
		Port modelElement = (Port) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentPortMapping_Source_4037(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Attachment_4041(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Binding_4042(modelElement,
				crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getRepresentation_3033IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getSystem_3034IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnector_3035IncomingLinks(
			View view) {
		Connector modelElement = (Connector) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorMapping_Source_4034(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getRole_3036IncomingLinks(
			View view) {
		Role modelElement = (Role) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4035(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Attachment_4041(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Binding_4042(modelElement,
				crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getAttachment_4041IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getBinding_4042IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponentPortMapping_2024OutgoingLinks(
			View view) {
		ComponentPortMapping modelElement = (ComponentPortMapping) view
				.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Source_4037(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Target_4039(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnectorRoleMapping_2025OutgoingLinks(
			View view) {
		ConnectorRoleMapping modelElement = (ConnectorRoleMapping) view
				.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4035(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4040(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnectorMapping_2026OutgoingLinks(
			View view) {
		ConnectorMapping modelElement = (ConnectorMapping) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Target_4033(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Source_4034(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponentMapping_2027OutgoingLinks(
			View view) {
		ComponentMapping modelElement = (ComponentMapping) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4036(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4038(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getCBAPattern_2028OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getSystem_2029OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPMultiplicity_3020OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPRole_3021OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConstraint_3022OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponentPort_3023OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3024OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponent_3025OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponent_3026OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPComponentPort_3027OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnector_3028OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3029OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPConnector_3030OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getComponent_3031OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getPort_3032OutgoingLinks(
			View view) {
		Port modelElement = (Port) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingTypeModelFacetLinks_Attachment_4041(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_Binding_4042(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getRepresentation_3033OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getSystem_3034OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getConnector_3035OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getRole_3036OutgoingLinks(
			View view) {
		Role modelElement = (Role) view.getElement();
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingTypeModelFacetLinks_Attachment_4041(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_Binding_4042(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getAttachment_4041OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getBinding_4042OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getContainedTypeModelFacetLinks_Attachment_4041(
			System container) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getAttachments().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Attachment) {
				continue;
			}
			Attachment link = (Attachment) linkObject;
			if (AttachmentEditPart.VISUAL_ID != AcmeADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			result.add(new AcmeADManagementMetamodelLinkDescriptor(src, dst,
					link,
					AcmeADManagementMetamodelElementTypes.Attachment_4041,
					AttachmentEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getContainedTypeModelFacetLinks_Binding_4042(
			System container) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getBindings().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Binding) {
				continue;
			}
			Binding link = (Binding) linkObject;
			if (BindingEditPart.VISUAL_ID != AcmeADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			result.add(new AcmeADManagementMetamodelLinkDescriptor(src, dst,
					link, AcmeADManagementMetamodelElementTypes.Binding_4042,
					BindingEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorMapping_Target_4033(
			PConnector target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getConnectorMapping_Target()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ConnectorMappingTarget_4033,
						ConnectorMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorMapping_Source_4034(
			Connector target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getConnectorMapping_Source()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ConnectorMappingSource_4034,
						ConnectorMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4035(
			Role target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getConnectorRoleMapping_Source()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ConnectorRoleMappingSource_4035,
						ConnectorRoleMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentMapping_Source_4036(
			Component target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getComponentMapping_Source()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ComponentMappingSource_4036,
						ComponentMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentPortMapping_Source_4037(
			Port target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getComponentPortMapping_Source()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ComponentPortMappingSource_4037,
						ComponentPortMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4038(
			PComponent target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getComponentMapping_Target()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ComponentMappingTarget_4038,
						ComponentMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentPortMapping_Target_4039(
			PComponentPort target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getComponentPortMapping_Target()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ComponentPortMappingTarget_4039,
						ComponentPortMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4040(
			PConnectorRole target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == AcmeadmanagementPackage.eINSTANCE
					.getConnectorRoleMapping_Target()) {
				result.add(new AcmeADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						AcmeADManagementMetamodelElementTypes.ConnectorRoleMappingTarget_4040,
						ConnectorRoleMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingTypeModelFacetLinks_Attachment_4041(
			SimpleElement target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() != AcmeadmanagementPackage.eINSTANCE
					.getLink_Target()
					|| false == setting.getEObject() instanceof Attachment) {
				continue;
			}
			Attachment link = (Attachment) setting.getEObject();
			if (AttachmentEditPart.VISUAL_ID != AcmeADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement src = link.getSource();
			result.add(new AcmeADManagementMetamodelLinkDescriptor(src, target,
					link,
					AcmeADManagementMetamodelElementTypes.Attachment_4041,
					AttachmentEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getIncomingTypeModelFacetLinks_Binding_4042(
			SimpleElement target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() != AcmeadmanagementPackage.eINSTANCE
					.getLink_Target()
					|| false == setting.getEObject() instanceof Binding) {
				continue;
			}
			Binding link = (Binding) setting.getEObject();
			if (BindingEditPart.VISUAL_ID != AcmeADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement src = link.getSource();
			result.add(new AcmeADManagementMetamodelLinkDescriptor(src, target,
					link, AcmeADManagementMetamodelElementTypes.Binding_4042,
					BindingEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorMapping_Target_4033(
			ConnectorMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		PConnector destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ConnectorMappingTarget_4033,
				ConnectorMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorMapping_Source_4034(
			ConnectorMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Connector destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ConnectorMappingSource_4034,
				ConnectorMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4035(
			ConnectorRoleMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Role destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ConnectorRoleMappingSource_4035,
				ConnectorRoleMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4036(
			ComponentMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Component destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ComponentMappingSource_4036,
				ComponentMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Source_4037(
			ComponentPortMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		Port destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ComponentPortMappingSource_4037,
				ComponentPortMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4038(
			ComponentMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		PComponent destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ComponentMappingTarget_4038,
				ComponentMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Target_4039(
			ComponentPortMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		PComponentPort destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ComponentPortMappingTarget_4039,
				ComponentPortMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4040(
			ConnectorRoleMapping source) {
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		PConnectorRole destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new AcmeADManagementMetamodelLinkDescriptor(
				source,
				destination,
				AcmeADManagementMetamodelElementTypes.ConnectorRoleMappingTarget_4040,
				ConnectorRoleMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingTypeModelFacetLinks_Attachment_4041(
			SimpleElement source) {
		System container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof System) {
				container = (System) element;
			}
		}
		if (container == null) {
			return Collections.EMPTY_LIST;
		}
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getAttachments().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Attachment) {
				continue;
			}
			Attachment link = (Attachment) linkObject;
			if (AttachmentEditPart.VISUAL_ID != AcmeADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AcmeADManagementMetamodelLinkDescriptor(src, dst,
					link,
					AcmeADManagementMetamodelElementTypes.Attachment_4041,
					AttachmentEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/getOutgoingTypeModelFacetLinks_Binding_4042(
			SimpleElement source) {
		System container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof System) {
				container = (System) element;
			}
		}
		if (container == null) {
			return Collections.EMPTY_LIST;
		}
		LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.acmeadmapping.plugin.diagram.part.AcmeADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getBindings().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Binding) {
				continue;
			}
			Binding link = (Binding) linkObject;
			if (BindingEditPart.VISUAL_ID != AcmeADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AcmeADManagementMetamodelLinkDescriptor(src, dst,
					link, AcmeADManagementMetamodelElementTypes.Binding_4042,
					BindingEditPart.VISUAL_ID));
		}
		return result;
	}

}
